package exam.web.action;

import java.util.List;

import exam.model.entity.TStudentEntity;
import exam.web.action.base.StudentActionBase;

public class IndexStudentAction extends StudentActionBase {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	// tStudentEntityList
	private List<TStudentEntity> tStudentEntityList;
	
	@Override
	public String execute() throws Exception {
		tStudentEntityList = studentDAO.selectListStudent();
		addActionMessage("Danh sách thí sinh");
		return SUCCESS;
	}
	
	public List<TStudentEntity> gettStudentEntityList() {
		return tStudentEntityList;
	}
	public void settStudentEntityList(List<TStudentEntity> tStudentEntityList) {
		this.tStudentEntityList = tStudentEntityList;
	}
	
	
}
